﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;

namespace MODEL.ViewModel
{
   public  class Course
    {
        [DisplayName("ID")]
        public int Id { get; set; }
        [DisplayName("课程名称")]
        [Required]
        public string CourseName { get; set; }
        [DisplayName("课程大纲")]
        public string CourseSubject { get; set; }
        [DisplayName("课程目的")]
        [Required]
        public string CoursePurpose { get; set; }
        [DisplayName("课程介绍")]

        public string CourseIntroduce { get; set; }
        [DisplayName("是否开启")]
        public int IsOpen { get; set; }
        [DisplayName("是否仅允许贫困生报名")]
        [Required]
        public int IsPoor { get; set; }
        
    }
}
